window: Set ALL_EVENT_MASK
authorBenjamin Otte <otte@redhat.com>
Mon, 13 Nov 2017 16:31:04 +0000 (17:31 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 13 Nov 2017 22:41:37 +0000 (23:41 +0100)
This is a trivial commit that does a big change: We now ignore event masks.

Further commits will clean up code, but if bisection ends up here, you
know it's because code is getting delivered events that it weren't getting
before.

gdk/gdkwindow.c

index 2bf1ac997d836688222f248c5e237e71487e2a0e..2380aa618abeb3035c07850c8b39ebce92f21a2d 100644 (file)
@@ -939,7 +939,7 @@ gdk_window_new (GdkDisplay    *display,
       return NULL;
     }
 
-  window->event_mask = attributes->event_mask;
+  window->event_mask = attributes->event_mask | GDK_ALL_EVENTS_MASK;
 
   if (attributes->wclass == GDK_INPUT_OUTPUT)
     {